package com.mydemo.springlearning.functions.CRUDdemo.byxml.service;

import com.mydemo.springlearning.functions.CRUDdemo.entity.User;

import java.util.List;

public interface UserService {

    /**
     * 增加用户
     * @param user 用户
     */
    void add(User user);

    void testIntroduction();

    /**
     * 得到所有用户
     * @return 所有用户
     */
    List<User> getAllUsers();
}
